#ifndef AVALON_NOTCONNECTEDEXCEPTION_HPP
#define AVALON_NOTCONNECTEDEXCEPTION_HPP
#include "Avalon/IO/IOException.hpp"

namespace Avalon {
namespace IO {

  /*! \class NotConnectedException
   *  \brief Indicates an operation failed due to not being connected.
   *  \author Kamal Mansouri <kranar@hotmail.com>
   */
  class NotConnectedException : public IOException {
    public:

      //! Constructs a NotConnectedException.
      NotConnectedException();

      //! Constructs a NotConnectedException.
      /*!
        \param message A message describing the error.
      */
      NotConnectedException(const std::string& message);

      virtual ~NotConnectedException() throw();
  };
}
}

#endif // AVALON_NOTCONNECTEDEXCEPTION_HPP
